package com.zhiyin.seal.service;

import com.zhiyin.seal.entity.bo.RechargePackageBo;
import com.zhiyin.seal.entity.bo.RechargeRecordBo;
import com.zhiyin.seal.entity.bo.RechargeRecordDetailBo;
import com.zhiyin.seal.entity.bo.RechargeRecordWebBo;

import java.util.List;

/**
 * 费用服务
 */
public interface CostService {

    List<RechargePackageBo> getRechargePackageList();

    List<RechargePackageBo> getAllRechargePackageList();

    RechargePackageBo  getRechargePackage(Long packageId);

    Boolean addRechargePackage(RechargePackageBo rechargePackageBo);

    Boolean updateRechargePackage(RechargePackageBo rechargePackageBo);

    RechargeRecordBo getRechargeRecordById(Long id);

    List<RechargeRecordWebBo> getAllRechargeRecordList();

    List<RechargeRecordBo> getRechargeRecordList(Long userId);

    List<RechargeRecordBo> getRechargeRecordListByCompany(Long companyId);

    List<RechargeRecordDetailBo> getRechargeRecordDetailList(Long recordId);

    Boolean addOrder(RechargeRecordBo rechargeRecordBo);

    Boolean addOrderDetail(List<RechargeRecordDetailBo> rechargeRecordDetailBoList);

    RechargeRecordBo queryOrder(String orderNumber);

    Boolean updatePayStatus(String orderNumber,Integer status);

    Boolean updateSealServiceTime(List<RechargeRecordDetailBo> rechargeRecordDetailBoList);
}
